// ============================== 导入依赖 ============================== //

import CORE from '@root/【CORE】'

import MAP from './MAP'
import DICT from './DICT'
import STORE from './STORE'
import THEME from './THEME'

import GRPC from './GRPC'

import MSG from './MSG'
import ALERT from './ALERT'
import CONFIRM from './CONFIRM'
import PROMPT from './PROMPT'

import UTIL from './UTIL'

// ============================== 导出内核 ============================== //

export default CORE.merge(CORE, {
  DISTRICT: { // 行政区
    TREE: [],
    MAP: {},
    DICT: [],
    PROVINCE: [[330000, '浙江省']],
    CITY: { 330000: [[330100, '杭州市']] },
    AREA: { 330100: [[330109, '萧山区']] },
  },

  MAP, // 公共映射
  DICT, // 公共字典
  STORE, // 公共仓库
  THEME, // 公共主题

  GRPC, // GRPC 配置

  MSG, // 消息配置
  ALERT, // 提示配置
  CONFIRM, // 确认配置
  PROMPT, // 提交配置

  ...UTIL, // 工具方法
})
